package com.lagou.domain;

import java.util.Date;

/**
 * @author Administrator
 */
public class Student {

    /**
     * 自增id
     */
    private int id;

    /**
     * 姓名
     */
    private String stname;

    /**
     * 性别
     */
    private String sex;

    /**
     * 生日
     */
    private Date birthday;

    @Override
    public String toString() {
        return "Student{" +
                "id=" + id +
                ", stname='" + stname + '\'' +
                ", sex='" + sex + '\'' +
                ", birthday=" + birthday +
                '}';
    }

    public Student() {
    }

    public Student(int id, String stname, String sex, Date birthday) {
        this.id = id;
        this.stname = stname;
        this.sex = sex;
        this.birthday = birthday;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getStname() {
        return stname;
    }

    public void setStname(String stname) {
        this.stname = stname;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }
}
